package com.shop.zzh.mbg.mapper;

import com.shop.zzh.mbg.model.UserPermissionRole;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
@Mapper
@Repository
public interface UserPermissionRoleMapper {
    int deleteByPrimaryKey(String roleId);

    int insert(UserPermissionRole record);

    int insertSelective(UserPermissionRole record);

    UserPermissionRole selectByPrimaryKey(String roleId);

    List<UserPermissionRole> selectByUserPermissionRole(UserPermissionRole userPermissionRole);

    int updateByPrimaryKeySelective(UserPermissionRole record);

    int updateByPrimaryKey(UserPermissionRole record);
}